From f8c7920366408199f9f45e439e054780d6f5cf2d Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Tue, 9 Aug 2016 15:09:45 -0700 Subject: [PATCH] SiteStats: Fix some phpdoc ...and don't pass false as $conds, use an empty array. Change-Id: I58127f0e7c4edad9345b924a019d64e5d2d6ddd9 --- includes/SiteStats.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/SiteStats.php b/includes/SiteStats.php index 6c536ddc46..03b4b8cd57 100644 --- a/includes/SiteStats.php +++ b/includes/SiteStats.php @@ -24,7 +24,7 @@ * Static accessor class for site_stats and related things */ class SiteStats { - /** @var bool|ResultWrapper */ + /** @var bool|stdClass */ private static $row; /** @var bool */ @@ -62,7 +62,7 @@ class SiteStats { } /** - * @return bool|ResultWrapper + * @return bool|stdClass */ static function loadAndLazyInit() { global $wgMiserMode; @@ -96,7 +96,7 @@ class SiteStats { /** * @param IDatabase $db - * @return bool|ResultWrapper + * @return bool|stdClass */ static function doLoad( $db ) { return $db->selectRow( 'site_stats', [ @@ -107,7 +107,7 @@ class SiteStats { 'ss_users', 'ss_active_users', 'ss_images', - ], false, __METHOD__ ); + ], [], __METHOD__ ); } /** -- 2.20.1